/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1abstractclassdemo1;

/**
 *
 * @author apple
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Raiser mike=new Raiser("Mike", 22);
        Tiger tiger1=new Tiger("跳跳虎", 10);
        Elephant elephant1=new Elephant("小飞象", 12);
        Panda panda1=new Panda("神龙大侠", 8);
        
        mike.feed(tiger1);
        mike.feed(elephant1);
        mike.feed(panda1);
    }
    
}
